package cocurrency.volatiletest;

/**
 * Created by luzl on 4/8/2017.
 */
public class ThreadTest {

    public static void main(String[] args){
        for (int i=0;i<30000;i++) {
            ConflictsThread conflictsThread = new ConflictsThread("Seq"+i);
            conflictsThread.start();
        }
        try {
            Thread.currentThread().sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        ConflictsThread.stop=true;
    }

}
